package com.cq.hd.app.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class RedPacketStatisticsVo implements Serializable {

    @ApiModelProperty(value = "红包金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal amt;

    @ApiModelProperty(value = "红包标题")
    private String title;

    @ApiModelProperty(value = "活动标题")
    private String activeTitle;

    @ApiModelProperty(value = "红包总数")
    private Integer totalNum;

    @ApiModelProperty(value = "已领红包总数")
    private Integer receiveNum;

    @ApiModelProperty(value = "已用红包总数")
    private Integer useNum;

    @ApiModelProperty(value = "支出成本")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal expendAmt;

    @ApiModelProperty(value = "活动状态（1-未发布，2-未开始，3-进行中，4-已结束）")
    private Integer activeState;

}
